﻿using System;
using System.Runtime.CompilerServices;

public static class LocalizationExtension
{
    public static string Localize(this string text)
    {
        return Localization.GetText(text, text);
    }

    public static string Localize(this string text, string id)
    {
        return Localization.GetText(id, text);
    }
}

